import request from '@/utils/request.js'
export function queryAlbum(data) {
    return request({
        url: '/album/queryVo',
        method: 'get',
        params: data
    })
}
export function selAlbum(data) {
    return request({
        url: '/album/'+data,
        method: 'get',
    })
}
export function delAlbum(data) {
    return request({
        url: '/album/'+data,
        method: 'delete',
    })
}
export function addAlbum(data) {
    return request({
        url: '/album/add',
        method: 'post',
        data:data
    })
}
export function editAlbum(data) {
    return request({
        url: '/album/edit',
        method: 'put',
        data:data
    })
}
export function deleteImage(data) {
    return request({
        url: '/album/deleteImage/'+data,
        method: 'delete',
        data:data
    })
}
